package com.cet.qz.unit01.chapter1_2.visitor;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-01-13 15:18
 **/
public class VisitorPatternDemo {
    public static void main(String[] args) {

        Computer computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());

//        Mouse mouse = new Mouse();
//        mouse.accept(new ComputerPartDisplayVisitor());
    }
}
